
<%
String result = (String) request.getAttribute("result");
String name = (String) request.getAttribute("name");
String next = "";
if(name!=null)
	next = " "+name+".";
String title="Lookup whois"+next;
String description=next+"Once your listing appears in this online directory, it is publicly available to anyone who chooses to check domain names using the WHOIS search tool.";
String keyword="whois,lookup whois,check whois";
%>

<jsp:include page="layout/header.jsp">
	<jsp:param name="title" value="<%=title %>" />
	<jsp:param name="description" value="<%=description %>" />
	<jsp:param name="keywords" value="<%=keyword %>" />
	<jsp:param name="menu" value="whois" />
</jsp:include>

<div id="content">

	<div class='search'>
		<form action="/whois" method="get">
			<input class="input" type="text" name="name"
				onclick="javascript:if(this.value=='example.com')this.value=''"
				value="example.com">
			<button type="submit">Whois</button>
		</form>
		<div class="clear"></div>
		<div class="adv728 clear_div">
			<jsp:include page="/adv/728x90.jsp"></jsp:include>
		</div>
	</div>

	<div>
		<jsp:include page="/adv/728x15.jsp"></jsp:include>
		<%
			if (name!=null) {
		%>
		<h1>Whois <%=name%></h1>
		<%=result %>
	
		<%
			} else {
		%>
		<p>
			<strong>Example : </strong><a href="/whois?name=cay9.com" class="link" rel="nofollow">cay9.com</a>
		</p>
		<p>This test will return WHOIS registration results for a DOMAIN name.  Depending on the registrar, you can see various information like who is it registered to, when it was registered and when it expires, where the DNS is hosted, and more.  In some cases, you will be able to go the registrar's site to get more information. </p>
		<%
			}
		%>
	</div>
</div>

<jsp:include page="layout/footer.jsp"></jsp:include>
